package com.lifesea.dao.mybatis;

import com.lifesea.model.MedNews;
import com.lifesea.model.MedNewsExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface MedNewsMapper {
    int countByExample(MedNewsExample example);

    int deleteByExample(MedNewsExample example);

    int deleteByPrimaryKey(Long id);

    int insert(MedNews record);

    int insertSelective(MedNews record);

    List<MedNews> selectByExampleWithBLOBs(MedNewsExample example);

    List<MedNews> selectByExample(MedNewsExample example);

    MedNews selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") MedNews record, @Param("example") MedNewsExample example);

    int updateByExampleWithBLOBs(@Param("record") MedNews record, @Param("example") MedNewsExample example);

    int updateByExample(@Param("record") MedNews record, @Param("example") MedNewsExample example);

    int updateByPrimaryKeySelective(MedNews record);

    int updateByPrimaryKeyWithBLOBs(MedNews record);

    int updateByPrimaryKey(MedNews record);

    Integer update(MedNews medNews);


}